package org.jgs1904.mybatis.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author: 默苍璃
 * @date: 2022-01-05 13:21
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
@Builder
public class Student {

    private int id;

    private String name;

    /**
     * 老师id
     */
    private int tid;

    /**
     * 学生关联老师
     */
    private Teacher teacher;

}
